package org.flh.book.shop.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 描述：
 *
 * @author 花好月圆
 * @date 2020/11/19 13:41
 */
@Data
@ApiModel
public class Book {

    @ApiModelProperty(value = "主键id", example = "0")
    private Integer id;

    @ApiModelProperty("书籍名称")
    private String name;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

}
